package com.ecut.property_project.mapper.project;

import com.ecut.property_project.model.project.ProjectPurpose;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ProjectPurposeMapper {
    int deleteByPrimaryKey(Integer purposeId);

    int insert(ProjectPurpose record);

    int insertSelective(ProjectPurpose record);
    List<ProjectPurpose> selectAll();

    List<ProjectPurpose> selectByPage(Integer page, Integer pageSize);

    ProjectPurpose selectByPrimaryKey(Integer purposeId);

    List<ProjectPurpose> selectByHeadId(String headId);

    int updateByPrimaryKeySelective(ProjectPurpose record);

    int updateByPrimaryKey(ProjectPurpose record);
}